package com.situ.stmall.manger.entity;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

//lombok 以注解的方式添加get、set、toString、构造方法
//商品分类信息
@Getter
@Setter
@ToString
@NoArgsConstructor
public class Category {
    private Integer id;
    private String name;
    private String dscp;
    private String pic;
    private Integer parentId;
    private Integer recom;
    private Integer status;
    /*lombok插件 已注解方式添加 get set toString 构造方法 */
    //关联对象
    private Category parent;

}
